<?php
/**
 * Author:xsc
 * Time:2023/9/5 13:30
 */

namespace App\Params\Common;

use App\Params\BaseParam;

class SpecialSendParams extends BaseParam
{

    public $mid;

    public $special_id;

    public $mobile;

    public $out_order_no;

    public function rules()
    {
        return [
            'mid'          => 'required|string',
            'special_id'   => 'required|integer',
            'mobile'       => 'required|string',
            'out_order_no' => 'required|string',
        ];
    }

    public function message()
    {
        return [
            "mid.required"          => "商户号不能为空",
            "special_id.required"   => "藏品id不能为空",
            "mobile.required"       => "手机号不能为空",
            "out_order_no.required" => "外部订单号不能为空",
        ];
    }

    public function getMid()
    {
        return $this->mid;
    }

    public function getSpecialId()
    {
        return $this->special_id;
    }

    public function getMobile()
    {
        return $this->mobile;
    }

    public function getOutOrderNo()
    {
        return $this->out_order_no;
    }

}
